package com.xjm.entity.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@TableName("admin")
@Data
public class AdminModel implements Serializable {
    private Integer id;

    private String account;

    private String password;

    private String nickname;

    private String avatar;

    private Integer status;

    private Integer superAdmin;

    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

    @TableField(fill = FieldFill.UPDATE)
    private Date updatedTime;

}
